package cn.sunxyz.behavior.state;

/**
 * Created by yangrd on 2017/5/15.
 */
public class Client {

    public static void main(String[] args) {
        State state = new State("1");
        Context context = new Context(state);
        context.method();
        state.setValue("2");
        context.method();
    }
}
